From: Owen Taylor Date: Sun, 2 Nov 2008 03:03:00 +0000 (+0000) Subject: Fix --debug option to default to gdb X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11620 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b81733d9e41b9ae592524e225ac8d593d2e88046;p=gnome-shell.git Fix --debug option to default to gdb When --debug is specified, pick up the default value for --debug-command of 'gdb --args' correctly. svn path=/trunk/; revision=20 --- diff --git a/scripts/launcher.py b/scripts/launcher.py index 19b076441..a52e37291 100644 --- a/scripts/launcher.py +++ b/scripts/launcher.py @@ -71,7 +71,7 @@ class Launcher: env['GJS_DEBUG_TOPICS'] = 'JS LOG' if self.options.debug: - args = list(self.options.debug_command) + args = list(self.debug_command) else: args = []